package homework;

import java.util.HashSet;
import java.util.TreeSet;

/**
 * @author: knowno
 * @create: 2025-09-16 09:18
 * @Version 1.0
 **/
public class TestEmployee2 {
    public static void main(String[] args) {
        TreeSet<Employee2> employees = new TreeSet<>();
        employees.add(new Employee2(1,"a",6000,"软件开发工程师"));
        employees.add(new Employee2(2,"b",4000,"软件测试工程师"));
        employees.add(new Employee2(3,"c",3000,"软件实施"));


        for (Employee2 employee : employees) {
            System.out.println(employee);
        }
    }
}
